home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
jetset.1
/
jetset.tar
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-04-15
|
2KB
|
100 lines
/* Jet Set Willy: Ported to Linux by John M Dow */
/* Original code by Guillaume Florent from M Smith's games */
/* ---------- Directories ---------- */
/* General Linux setup based on Slackware 2.20 */
/* Directory where saved games are stored. */
SAVEDIR = /usr/games/lib/jetset
/* Score file */
SCOREFILE = ${SAVEDIR}/jetset.score
/* Lock for score file. This is really a directory. */
LOCKFILE = ${SAVEDIR}/jetset.score.lock
/* ---------- Compilation ---------- */
/* Comment these lines if you don't have/want gcc */
CC = gcc
CCOPTIONS =
/* ---------- Installation ---------- */
DESTDIR = /usr/games/ /* MUST end with a slash ! */
BINDIR = bin
MANPATH = man
MANSUFFIX = 6
/* The rules for ComplexTargetProgram are such that :
make install installs in $DESTDIR$BINDIR
make install.man installs in $DESTDIR$MANDIR
-> $DESTDIR$MANSOURCEPATH$MANSUFFIX
-> $DESTDIR$MANPATH/man$MANSUFFIX
*/
/* You may need to edit this.
(By defaut MKDIRHIER is "sh $BINDIR/mkdirhier", which is stupid
because you want to redefine BINDIR.) */
MKDIRHIER = mkdirhier
/* ---------------------------------------------------------------------- */
DEFINES = -DSCOREFILE=\"${SCOREFILE}\" -DLOCKFILE=\"${LOCKFILE}\" -DSAVEDIR=\"${SAVEDIR}\" ${NORAND48}
DEPLIBS =
LOCAL_LIBRARIES = XawClientLibs
SRCS = callbacks.c \
chars.c \
data.c \
data_chars.c \
data_colors.c \
data_flags.c \
data_monsters.c \
data_neighb.c \
data_sprite.c \
draw.c \
game.c \
main.c \
monsters.c \
score.c \
widget.c
OBJS = callbacks.o \
chars.o \
data.o \
data_chars.o \
data_colors.o \
data_flags.o \
data_monsters.o \
data_neighb.o \
data_sprite.o \
draw.o \
game.o \
main.o \
monsters.o \
score.o \
widget.o
ComplexProgramTarget(jetset)
MakeDirectories(install,${SAVEDIR})
/* ---------------------------------------------------------------------- */
ALLFILES = README CHANGES INSTALL PROBLEMS TODO Imakefile patch-tvtwm-pl7 jetset.man *.c *.h *.xbm
shar:
shar ${ALLFILES} > jetset.shar
tar:
(cd ..; a=""; for i in ${ALLFILES}; do a="$$a jetset/$$i"; done; tar -cf - $$a) > jetset.tar